Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TotalBurn" method remove unit convert #97

Merged
merged 5 commits into from
Feb 1, 2021
Merged

Conversation

dreamer-zq
Copy link
Contributor

@dreamer-zq dreamer-zq commented Jan 28, 2021

Closes: #106

@dreamer-zq dreamer-zq changed the title Remove unit convert WIP: Remove unit convert Jan 28, 2021
@dreamer-zq dreamer-zq changed the title WIP: Remove unit convert Remove unit convert Feb 1, 2021
@dreamer-zq dreamer-zq changed the title Remove unit convert TotalBurn method remove unit convert Feb 1, 2021
@dreamer-zq dreamer-zq changed the title TotalBurn method remove unit convert "TotalBurn" method remove unit convert Feb 1, 2021
@chengwenxi chengwenxi added enhancement New feature or request modules/token Changes, features and bugs related to the token module. labels Feb 1, 2021
@chengwenxi chengwenxi merged commit 517359f into master Feb 1, 2021
dreamer-zq added a commit that referenced this pull request Feb 1, 2021
Update symbol&minUint validation (#95)

* Optimized token accuracy conversion

* update symbol&minUint validation

* adjust test case

modify service event name (#96)

Co-authored-by: secret <secret@bianjie.ai>

Release v1.2.1 (#98)

* update v1.2.1 changelog

* add links

Mint&Edit&Burn only accept symbol as denom (#101)

* Optimized token accuracy conversion

* mint&edit&burn only accept symbol as denom

* revert code

* revert code

* refactor GetToken method

When the baseFee of the token is an external asset, issue&mint Token error (#103)

* Optimized token accuracy conversion

* mint&edit&burn only accept symbol as denom

* revert code

* revert code

* handle error

* revert

Fix burn token (#104)

* fix burn token

* add changelog

"TotalBurn" method  remove unit convert (#97)

* Optimized token accuracy conversion

* remove TotalBurn unit convert

* fix test error
chengwenxi pushed a commit that referenced this pull request Feb 2, 2021
* Optimized token accuracy conversion

* fix base fee calc error

* check token exist in InitGenesis

* Optimized token accuracy conversion

Update symbol&minUint validation (#95)

* Optimized token accuracy conversion

* update symbol&minUint validation

* adjust test case

modify service event name (#96)

Co-authored-by: secret <secret@bianjie.ai>

Release v1.2.1 (#98)

* update v1.2.1 changelog

* add links

Mint&Edit&Burn only accept symbol as denom (#101)

* Optimized token accuracy conversion

* mint&edit&burn only accept symbol as denom

* revert code

* revert code

* refactor GetToken method

When the baseFee of the token is an external asset, issue&mint Token error (#103)

* Optimized token accuracy conversion

* mint&edit&burn only accept symbol as denom

* revert code

* revert code

* handle error

* revert

Fix burn token (#104)

* fix burn token

* add changelog

"TotalBurn" method  remove unit convert (#97)

* Optimized token accuracy conversion

* remove TotalBurn unit convert

* fix test error

* fix base fee calc error

* check token exist in InitGenesis

* uint64(MaxUint64)

* fix unit64->int64 error
@chengwenxi chengwenxi deleted the remove-unit-convert branch February 9, 2021 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request modules/token Changes, features and bugs related to the token module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The "TotalBurn" function preferably returns the smallest unit of the token
2 participants